Skip to content

docs(core): document the 'py' (Python) --script type#3625

Merged
mnriem merged 1 commit into
github:mainfrom
jawwad-ali:docs/core-script-py-type
Jul 22, 2026
Merged

docs(core): document the 'py' (Python) --script type#3625
mnriem merged 1 commit into
github:mainfrom
jawwad-ali:docs/core-script-py-type

Conversation

@jawwad-ali

Copy link
Copy Markdown
Contributor

What

specify init --script accepts three values — sh, ps, and py — per init.py (--script help: "sh, ps, or py") and SCRIPT_TYPE_CHOICES in _agent_config.py ({"sh", "ps", "py"}). specify init … --script py scaffolds Python scripts.

But the Core Commands reference (docs/reference/core.md) — the canonical option table — listed only --script sh|ps, so a user following the docs never discovers --script py.

Fix

Update the one option row to --script sh|ps|py with the Python description. Single-file, one-line docs change, kept to core.md to stay single-concern.


🤖 Written with the assistance of Claude Code (AI). Gap self-found (flag present in code + SCRIPT_TYPE_CHOICES, absent from docs).

…on table

'specify init --script' accepts sh, ps, or py (init.py + SCRIPT_TYPE_CHOICES in
_agent_config.py), and 'specify init --script py' scaffolds Python scripts. The
core.md option reference listed only 'sh|ps', so a user following the canonical
docs never learns about --script py. Update the option row to sh|ps|py.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Documents Python as a supported specify init --script type.

Changes:

  • Adds py to the option syntax.
  • Describes py as Python.
Show a summary per file
File Description
docs/reference/core.md Documents the Python script type.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Medium

@mnriem
mnriem merged commit 4f4d19b into github:main Jul 22, 2026
12 checks passed
@mnriem

mnriem commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants